package model

import (
	mssql "github.com/denisenkom/go-mssqldb"
	"time"
)

type Notice struct {
	Nid     int           `gorm:"primary_key;column:nid"`
	Ntime   time.Time     `gorm:"not null;column:ntime"`
	Sender  int           `gorm:"not null;column:sender"`
	Uid     int           `gorm:"not null;column:uid"`
	Title   mssql.VarChar `gorm:"not null;column:title"`
	Content mssql.VarChar `gorm:"not null;column:content"`
	Path    mssql.VarChar `gorm:"not null;column:path"`
}
